obj-$(CONFIG_IP_DCCP) += dccp.o dccp_ipv4.o

dccp-y := ccid.o feat.o input.o minisocks.o options.o output.o proto.o timer.o

dccp_ipv4-y := ipv4.o

# build dccp_ipv6 as module whenever either IPv6 or DCCP is a module
#obj-$(subst y,$(CONFIG_IP_DCCP),$(CONFIG_IPV6)) += dccp_ipv6.o
#dccp_ipv6-y := ipv6.o
# Thorsten, removed, expressed manually:

#CONFIG_IP_DCCP   CONFIG_IPV6	result
#	y				y				y
#	m				m				m
#	m				y				m
#	m				-				-
#	-				m				m
#	y				m				m
#	-				y				-
#	y				-				-
#	-				-				-

#CONFIG_IPV6_m |
#( CONFIG_IP_DCCP_m & (CONFIG_IPV6_y | CONFIG_IP_DCCP_m) ) |
#( CONFIG_IP_DCCP_y & (CONFIG_IPV6_y | CONFIG_IP_DCCP_m ) ) |
#(CONFIG_IPV6_y & ( CONFIG_IP_DCCP_y | CONFIG_IP_DCCP_m ))


dccp-$(CONFIG_IP_DCCP_ACKVEC) += ackvec.o

obj-$(CONFIG_INET_DCCP_DIAG) += dccp_diag.o
obj-$(CONFIG_NET_DCCPPROBE) += dccp_probe.o

dccp-$(CONFIG_SYSCTL) += sysctl.o

dccp_diag-y := diag.o
dccp_probe-y := probe.o

obj-y += ccids/
